FROM registry.cn-hangzhou.aliyuncs.com/bocloud/busybox:1.35

ARG TARGETARCH

WORKDIR /workspace
COPY ./bin/launcher-${TARGETARCH} /bin/launcher
COPY ./bin/bkeagent-${TARGETARCH} ./bkeagent
RUN chmod +x /bin/launcher
CMD mkdir -p /etc/bkeagent/launcher
EXPOSE 8080